package cn.iocoder.yudao.module.handguard.controller.app.orders.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author: liuweijun
 * @since: 2023/9/13 16:12
 * @description:
 */
@Data
public class TJOrderResVo {

    @Schema(description = "订单号")
    private Long orderId;

    @Schema(description = "流程：1完善资料、2下放额度、3申请贷款、4业务员处理、5权证处理 6.资料审核、7.银行面签填贷款申请表、8.考察抵押物和经营场所、9.银行出批复10.银行面签抵押合同和借款合同、11.办理抵押、12.办公证、13.放款")
    private Integer flowN;

    @Schema(description = "进度（0：失败，1：待跟进，2跟进中，3已完成）")
    private Integer applyState;

    @Schema(description = "进度中文")
    private String applyStateZh;

    @Schema(description = "申请人姓名")
    private String name;

    @Schema(description = "用户头像")
    private String avatar;

    @Schema(description = "产品名称")
    private String productName;

    @Schema(description = "预估额度")
    private String amount;

    @Schema(description = "实际放款金额")
    private String practicalAmount;

    @Schema(description = "实际放款时间")
    private String practicalTime;

    @Schema(description = "申请时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String createTime;

}
